package com.strato.logging.saas.v1_0_0;

import com.strato.annotation.osgi.v1_0_0.service.OsgiService;
import com.strato.logging.v1_0_0.api.Log;
import com.strato.logging.v1_0_0.api.LogFactory;

@OsgiService(id="saasLogFactory",usefor="saas")
public class SaasLogFactory implements LogFactory {

	@Override
	public Log getLogByName(String name) {
		Log syslog = LogFactory.getSystemLog(name);
		return new SaasLog(name,syslog);
	}

}
